package cn.sportvip.repository.mongo.sport;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.geo.Point;
import org.springframework.data.repository.PagingAndSortingRepository;

import cn.sportvip.entity.sport.CoachBasic;

public interface CoachBasicRepository extends PagingAndSortingRepository<CoachBasic, Integer> {

	Page<CoachBasic> findByLocationNear(Point point, Pageable pageable);

	CoachBasic findByTagsId(int i);

}
